#!/bin/bash

if ./mandel hhh jjj ; then
    exit 1
elif ./mandel -2 -1 -1 -1 20; then
    exit 1
else
    ./mandel -2 1 1 -1 20 > out1 
    ./mandel -2 1 1 -1 100 > out2
    exit 0
fi